﻿namespace WizardEngine.Core.Specification
{
    internal class FlowSpecificationValidator<T> where T : FlowState, new()
    {
        /// <summary>
        /// Validates provided specification against completness and being sound.
        /// </summary>
        /// <remarks>
        /// Among others validator checks that initial step is the only one without input transitions.  
        /// </remarks>
        /// <param name="specification">Flow specification. </param>
        /// <returns>True if provided specification is valid, false otherwise. </returns>
        public bool Validate(FlowSpecification<T> specification)
        {
            return true;
        }
    }
}
